<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>双图片布局</title>
    <style>
        /* 重置默认样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 设置body和html的高度为100% */
        html, body {
            height: 100%;
            width: 100%;
            overflow: hidden;
        }
        
        /* 设置背景图样式 */
        body {
            background-image: url('https://ur.rexiy.com/lanren/i/2025/03/30/2vzw.png'); /* 背景图片链接 */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* 中间图片样式 */
        .center-image {
            width: 400px;
            height: 400px;
            background-image: url('https://ur.rexiy.com/lanren/i/2025/03/30/ks1p.gif'); /* 中间图片链接 */
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    </style>
</head>
<body>
    <!-- 中间图片容器 -->
    <div class="center-image"></div>
</body>
</html>